imwayland: Fix a small leak
authorMichael Catanzaro <mcatanzaro@igalia.com>
Sun, 24 Jun 2018 20:49:46 +0000 (15:49 -0500)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 25 Jun 2018 21:20:09 +0000 (22:20 +0100)
commit7869ffbb49cf99fcf7c4a7f1b4925262991d1e5d
tree9ff584b1083d2a2412634b75f9c0ec6e9ee3adc3
parent2f149c378a6d558556121652bf0492e51679d5af
imwayland: Fix a small leak

If the parent get_preedit_string implementation returns a nonnull
zero-length string, then we ignore it, which is almost fine. We have to
free it, though.

Fixes #1174
gtk/gtkimcontextwayland.c